﻿<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl" %>
<div style="display:block; overflow:hidden; margin-bottom:6px;">
<div style="float:left">
	<input type="button" value="FTC Group" class="btn_top" />&nbsp;
	<input type="button" value="FTC Land" class="btn_top" />
</div>
<div class="f_r">
    
    <a href="/user/product/create">Đăng tin</a>&nbsp;|&nbsp;
    <%
    if (Request.IsAuthenticated) {
    %>
            Xin chào <b><%= Html.ActionLink(Page.User.Identity.Name, "index", "product", new { area="user", id=1},null)%></b>!
            [ <%= Html.ActionLink("Thoát", "logoff", "account", new {area="" },null)%> ]
    <%
        }
        else {
    %>
            [<a href="/account/register">Đăng ký</a>]&nbsp;|&nbsp;
            [ <%= Html.ActionLink("Đăng nhập", "logon", "account", new { area = "" }, null)%> ]
    <%
        }
    %>
</div>
</div>
<div class="clear"></div>